<template>
	<div>
		<task-u-i-handle @taskSubmitEvent="taskSubmitEvent" ref="taskUiHandler"></task-u-i-handle>
	</div>
</template>

<script setup lang="ts">
// TODO: 工作流列表组件-待办
import { onMounted, ref } from 'vue'
import TaskUIHandle from "./taskUiPc.vue"

const emit = defineEmits(["taskSubmitEvent"]);
const taskUiHandler = ref();

//点击开始处理
const deal = (row) => {
	taskUiHandler.value.deal(row.taskId, row.processInstanceId, row.flowId, row.ccId, row.nodeId)
}

const taskSubmitEvent = () => {
	emit('taskSubmitEvent')
}

defineExpose({ deal });
onMounted(() => { });
</script>

<style scoped lang="less"></style>
